04. Navigating Your Working Directory and File I/O
Navigating Your Working Directory and File I/O
Before you continue on with this lesson, make sure you are comfortable working with your computer's command line interface to access files and folders, and also with reading and writing to files (i.e. part of File I/O or input/output) in Python. It can be extremely frustrating getting bogged down in these seemingly trivial topics.
Command Line
For the command line interface, here are three excellent resources that I recommend. Pick whichever suits you best:
- Our short Linux Command Line Basics course (for Linux and Mac users)
- Navigating the Terminal: A Gentle Introduction by Marius Masalar (for Mac users)
- Command Prompt - How to use the simple, basic commands by Codrut Neagu (for Windows users)
File I/O
For reading from and writing to files in Python:
- The "Reading and Writing Files" concept in Lesson 6 ("Scripting") of our Prerequisite: Python course found in the Extracurricular section
Feel free to skip these resources and continue with this lesson if you're familiar already.